//--------------------------------------------------------------------
//     Author:Howe
//     Date: 2021-04-13 21:43:59 
//     Description:对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
//--------------------------------------------------------------------
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;

namespace Kylin.Wiki.Model.Entity
{
    ///<summary>
    ///sys_Log_Document
    ///</summary>
    [Table("sys_document_log")]
    public class Document_Log : BaseEntity
    {

        /// <summary>
        /// ID
        /// </summary>
        [Key]
        [Required]
        [DisplayName("ID")]
        [Column("id")]
        public int ID { get; set; }

        /// <summary>
        /// 文档ID
        /// </summary>
        [Required]
        [DisplayName("文档ID")]
        [Column("document_id")]
        public int DocumentID { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        [Required]
        [DisplayName("用户ID")]
        [Column("user_id")]
        public int UserID { get; set; }

        /// <summary>
        /// 动作 1 创建 2 修改 3 删除
        /// </summary>
        [DisplayName("动作 1 创建 2 修改 3 删除")]
        [Column("action_type")]
        public int? ActionType { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [DisplayName("备注")]
        [Column("comment")]
        public string Comment { get; set; }

       

    }
}
